class MyBase:
    def __init__(self, name):
        self.name = name
        self._url=''

    @property
    def url(self):
        print('url method')
        return self._url


mb=MyBase(name='test')
print(mb.url)